package com.leenmvc.core.enums;

/**
 * 文件上传到何处
 *
 */
public enum UploadPlace {

    LOCAL(1, "本地服务器"),

    OSS(2, "云"),

    TENCENT(3, "腾讯云"),

    BAIDU(4, "百度云盘");

    private Integer code;

    private String note;

    UploadPlace(Integer code, String note) {
        this.note = note;
        this.code = code;
    }

    public String getNote() {
        return note;
    }

    public Integer getCode() {
        return code;
    }
}
